<!DOCTYPE HTML>
<html>
    <head>
        <meta charset="utf-8">
        <title>嘿,朋友</title>
        <script type="text/javascript" src="js/subit_.js"></script>
    </head>
    <body onload='init()'>
        <form name="myform">
            <span>时间(请输入至少五分钟后的时间):</span>
            <input id='user_time' name='user_time' type="datetime-local" max="2019-01-01T00:00" required="required" />
            <span>重复:</span>
                <select name="repeat" id="repeat">
                    <option value="0" selected>0</option>
                    <option value="1" >1</option>
                    <option value="2" >2</option>
                    <option value="3" >3</option>
                    <option value="4" >4</option>
                    <option value="5" >5</option>
                    <option value="6" >6</option>
                    <option value="7" >7</option>
                </select>
            <span>次 间隔:</span>
                <select name="interval" id="interval">
                    <option value="day" selected>天</option>
                    <option value="week" >周</option>
                    <option value="month" >月</option>
                </select>
            <br/>
            <span>提醒内容:</span>
            <input type="text" placeholder="到时间我应该提醒您什么" name="content" id="content"/>
            <br/>
            <span>提醒途径</span>
            <select name="approach" id="approach">
                <option value="qq" selected>QQ</option></select>
            <br/>
            <span>发送对象:</span>
            <select name="obj_type" id="obj_type">
                <option value="buddy" selected>人</option>
            </select>
            <br/>
            <span>号码:</span>
            <input placeholder="qq号码或群号" type="number" name='user_num' id="user_num"/>
            <input type='button' value='提交数据' onclick='subit()'/>
        </form>
        <h1 id='errorcode'></h1>
        <h1 id='server_state'></h1>
    </body>
</html>